package com.qiy.springcloud.alibaba.controller.service;

import com.qiy.springcloud.entities.CommonResult;
import com.qiy.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentService {
    @Override
    public CommonResult<Payment> pamentSQL(Long id) {
        return new CommonResult<>(44444,"服务降级返回 --> PaymentFallbackService", new Payment(id, "error"));
    }
}
